
package org.amos.gen.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.amos.core.basic.annotation.MpQuery;
import org.amos.core.basic.base.BaseDTO;
import org.amos.core.basic.enums.SqlKeyWordEnum;

/**
 * 模板表
 *
 * @author CodeGenerator
 * @since 2021-01-21
 */
@Data
@Schema(name = "GenTemplate对象", description = "模板表")
public class GenTemplateDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "模板名称")
    @MpQuery(column = "name", keyword = SqlKeyWordEnum.LIKE)
    private String name;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema(description = "内容")
    private String content;

    @MpQuery(column = "group_id", keyword = SqlKeyWordEnum.EQ)
    private Long groupId;

    private String groupName;


}
